#!/bin/bash
# Zaitan Module - Picasa Install
# Zaitan Team <http://code.google.com/p/zaitan/>

RMOD_ENGINE='1.0'
RMOD_CATEGORY='Software'
RMOD_SUBCATEGORY='Designer'
RMOD_NAME='Picasa'
RMOD_AUTHOR='Zaitan Team'
RMOD_VERSION='2.2'
RMOD_DESCRIPTION='Installs Picasa'



# Install Picasa

echo Running $RMOD_NAME...
#/usr/lib/zaitan/modulo/mod-checkInstall

cd /usr/share/zaitan
apt-get update
wget -c http://dl.google.com/linux/deb/pool/non-free/p/picasa/picasa_2.2.2820-5_i386.deb

dpkg -i picasa_2.2.2820-5_i386.deb
apt-get -f install
chmod 666 /dev/nvidia0 /dev/nvidiactl


echo $RMOD_NAME Finibashed...

##Logs
echo $RMOD_NAME-$RMOD_VERSION | tee -a /usr/share/zaitan/logs
/usr/lib/zaitan/modulo/mod-logs
##

exit 0

